package com.yonyou.cyxdms.basedata.service.dto.vehiclemodel;

import com.yonyou.cyx.framework.bean.dto.base.BaseDTO;

import javax.validation.constraints.NotBlank;

/**
 * 配置dto
 *
 * @author chenzb
 * @date 2019年10月12日
 */

public class GeneralPackageDTO extends BaseDTO {
    private Long packageId;
    @NotBlank(message = "车型代码不能为空")
    private String modelCode;
    @NotBlank(message = "经销商代码不能为空")
    private String ownerCode;
    @NotBlank(message = "配置代码不能为空")
    private String configCode;
    @NotBlank
    private String configName;
    private Integer isValid;
    private Double taxPurchasePrice;
    // 租户id
    @NotBlank
    private String appId;
    // 是否删除
    private Integer isDelete;
    // 涞源ID
    private String sourceId;

    public Double getTaxPurchasePrice() {
        return taxPurchasePrice;
    }

    public void setTaxPurchasePrice(Double taxPurchasePrice) {
        this.taxPurchasePrice = taxPurchasePrice;
    }

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }

    public String getModelCode() {
        return modelCode;
    }

    public void setModelCode(String modelCode) {
        this.modelCode = modelCode;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getConfigCode() {
        return configCode;
    }

    public void setConfigCode(String configCode) {
        this.configCode = configCode;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    @Override
    public String toString() {
        return "GeneralPackageDTO{" +
                "packageId=" + packageId +
                ", modelCode=" + modelCode +
                ", ownerCode='" + ownerCode + '\'' +
                ", configCode='" + configCode + '\'' +
                ", configName='" + configName + '\'' +
                ", isValid=" + isValid +
                ", taxPurchasePrice=" + taxPurchasePrice +
                ", appId='" + appId + '\'' +
                ", isDelete=" + isDelete +
                ", sourceId='" + sourceId + '\'' +
                '}';
    }
}
